#playlist-main-window {
    border: 0px solid #000;
    padding: 0px;
    width: 400px;
    height: 500px;
    margin: 0px auto;
    overflow: hidden;
    position: relative;
    display: grid;
    grid-template-rows: 1fr auto;
}

#playlists {
    border-bottom: 5px solid #000;
    overflow-y: auto;
    max-height: calc(100% - 10px);
    padding-top: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.playlist {
    display: flex;
    height: 34px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0px;
    border: 3px solid #000;
}

.playlist-name {
    flex: 1;
    width: 50%;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
    padding: 5px;
}

.playlist-play-button-parent {
    width: 34px;
    height: 100%;
    position: relative;
    outline: 3px solid #000;
    margin-right: 3px;
}

.playlist-play-button {
    width: 34px;
    height: 100%;
    outline: 3px solid #000;
    margin-right: 3px;
    border-style: none;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-size: 70% 70%;
    background-color: transparent;
}

.playlist-edit-button {
    width: 34px;
    height: 100%;
    outline: 3px solid #000;
    border-style: none;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-size: 70% 70%;
    background-color: transparent;
}

#main-window-buttons-container {
  display: flex;
  justify-content: space-between;
  height: 50px;
  margin-bottom: 3px;
}

#add-new-playlist-button {
    flex: 1;
    width: 100%;
    height: 50px;
    margin-right: 10px;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

#options-button {
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    margin-right: 3px;
    margin-top: 3px;
    padding: 0px;
    outline: 3px solid #000;
    border-style: none;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 80% 80%;
}

#edit-playlist-main-window {
    display: none;
    flex-direction: column;
    padding: 0px;
    width: 400px;
    height: 500px;
    margin: 0px auto;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
}

#playlist-name-parent {
    display: flex;
    flex-shrink: 0;
    height: 34px;
    width: 100%;
    align-items: center;
    margin-bottom: 10px;
    border-bottom: 5px solid #000;
}

#input-playlist-name {
    flex: 1;
    width: 50%;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 0px;
    padding: 5px;
    outline: none;
    border: 0px solid #000;
    background-color: transparent;
}

#playlist-change-name-button {
    width: 37px;
    height: 100%;
    border-left: 3px solid #000;
    border-top: 0px solid #000;
    border-right: 0px solid #000;
    border-bottom: 0px solid #000;
    margin-right: 3px;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-size: 70% 70%;
    background-color: transparent;
}

#playlist-delete-button {
    width: 37px;
    height: 100%;
    border-left: 3px solid #000;
    border-top: 0px solid #000;
    border-right: 0px solid #000;
    border-bottom: 0px solid #000;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-size: 70% 70%;
    background-color: transparent;
}

#songs {
    flex-grow: 1;
    border-bottom: 5px solid #000;
    overflow-y: auto;
    padding-top: 10px;
    padding-right: 10px;
    box-sizing: border-box;
}

.song {
    display: flex;
    height: 34px;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 0px;
    border: 3px solid #000;
}

.song-number {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    line-height: 34px;
    width: 42px;
    height: 100%;
    border-left: 0px solid #000;
    border-top: 3px solid #000;
    border-right: 3px solid #000;
    border-bottom: 3px solid #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 2px;
    padding-right: 2px;
    position: relative;
}

.input-song-name {
    flex: 1;
    width: 50%;
    font-size: 20px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 5px;
    margin-left: 5px;
    padding: 0px;
    outline: none;
    border: 0px solid #000;
    background-color: transparent;
}

.edit-song-name-button {
    width: 34px;
    height: 100%;
    outline: 3px solid #000;
    margin-right: 3px;
    border-style: none;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-size: 70% 70%;
    background-color: transparent;
}

.remove-song-button {
    width: 34px;
    height: 100%;
    outline: 3px solid #000;
    margin-right: 0px;
    border-style: none;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-size: 70% 70%;
    background-color: transparent;
}

#add-new-song-parent {
    display: flex;
    height: 34px;
    width: 100%;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 0px;
}

#input-insert-url {
    flex: 1;
    border: 3px solid #000;
    font-size: 20px;
    font-weight: bold;
    padding: 5px;
    outline: none;
}

#add-song-button {
    width: 34px;
    height: 100%;
    border-style: none;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-size: 80% 80%;
    background-color: transparent;
}

#player-selector,
#theme-selector,
#font-selector,
#style-selector,
#delete-all-container,
#export-import-container,
#final-options-parent-options-panel,
#final-options-parent {
    display: flex;
    justify-content: space-between;
    height: 50px;
    margin-bottom: 3px;
}

#player-selector,
#theme-selector,
#font-selector,
#style-selector,
#export-import-container {
    margin-left: 30px;
    margin-right: 30px;
}

#save-button-options-panel,
#save-button {
    flex: 1;
    width: 100%;
    height: 50px;
    margin-right: 100px;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

#close-button-options-panel,
#return-to-main-frame {
    flex: 1;
    width: 100%;
    height: 50px;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

#options-main-window {
    display: none;
    flex-direction: column;
    padding: 0px;
    width: 400px;
    height: 500px;
    margin: 0px auto;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
}

#export-button {
    flex: 1;
    width: 100%;
    height: 50px;
    margin-right: 12px;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

#open-import-menu-button {
    flex: 1;
    width: 100%;
    height: 50px;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
}

#options-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 5px solid #000;
}

#delete-all-container {
    border-bottom: 5px solid #000;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 15px;
}

#final-options-parent-options-panel {
    margin-top: 0px;
}

#player-text {
    width: 70px;
    height: 50px;
    margin-right: 15px;
    font-size: 20px;
    font-weight: bold;
    padding-top: 12.5px;
    text-align: left;
}

#theme-text {
    width: 70px;
    height: 50px;
    margin-right: 15px;
    font-size: 20px;
    font-weight: bold;
    padding-top: 12.5px;
    text-align: left;
}

#player-select {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    outline: none;
}

#theme-select {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    outline: none;
}

#delete-all-button {
    flex: 1;
    width: 100%;
    height: 50px;
    margin-right: 22px;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    padding-right: 0px;
}

#delete-warning-text {
    flex: 1;
    width: 100%;
    height: 50px;
    font-size: 15px;
    font-weight: bold;
    padding-top: 5px;
}

#font-text {
    width: 70px;
    height: 50px;
    margin-right: 15px;
    font-size: 20px;
    font-weight: bold;
    padding-top: 12.5px;
    text-align: left;
}

#font-select {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    outline: none;
}

#style-text {
    width: 70px;
    height: 50px;
    margin-right: 15px;
    font-size: 20px;
    font-weight: bold;
    padding-top: 12.5px;
    text-align: left;
}

#style-select {
    flex: 1;
    width: 100%;
    height: 100%;
    border: 3px solid #000;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    outline: none;
}

#import-main-window {
    display: none;
    flex-direction: column;
    padding: 0px;
    width: 400px;
    height: 500px;
    margin: 0px auto;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
}

#import-options-container {
    display: flex;
    flex-direction: column;
    padding: 0px;
    width: 400px;
    height: 361px;
    margin: 0px auto;
    overflow: hidden;
    position: relative;
    justify-content: space-between;
    border-bottom: 5px solid #000;
}

.import-options-individual-container {
    flex: 1;
    display: flex;
    flex-direction: row;
    height: 50px;
    margin-right: 30px;
    margin-left: 30px;
    align-items: center;
}

#import-title {
    text-align: center;
    font-size: 30px;
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 5px;
    border-bottom: 5px solid #000;
}

#explanation-message {
    flex-grow: 1;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

#input-insert-backup {
    flex-grow: 1;
    height: 30px;
    font-size: 16px;
    font-weight: bold;
    border: 3px solid #000;
    outline: none;
}

#import-button {
    flex-grow: 1;
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 3px solid #000;
}

#status-message {
    flex-grow: 1;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    align-self: flex-start;
}

#close-import-menu {
    height: 50px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: 3px solid #000;
    margin-bottom: 3px;
    cursor: pointer;
}